package com.woniu.humanresource.entity;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
//    主键
    private Integer uid;
//    姓名
    private String uname;
//    密码
    private String password;
//    员工表外键
    private Integer eid;
    //    权限
    private List<String> permission;
    //    部门
    private Departments departments;
    //    员工
    private Employees employees;
}
